/*
 * XML Type:  MessageSetCore
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.MessageSetCore
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML MessageSetCore(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class MessageSetCoreImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements net.ofx.types.x2003.x04.MessageSetCore
{
    
    public MessageSetCoreImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName VER$0 = 
        new javax.xml.namespace.QName("", "VER");
    private static final javax.xml.namespace.QName URL$2 = 
        new javax.xml.namespace.QName("", "URL");
    private static final javax.xml.namespace.QName OFXSEC$4 = 
        new javax.xml.namespace.QName("", "OFXSEC");
    private static final javax.xml.namespace.QName TRANSPSEC$6 = 
        new javax.xml.namespace.QName("", "TRANSPSEC");
    private static final javax.xml.namespace.QName SIGNONREALM$8 = 
        new javax.xml.namespace.QName("", "SIGNONREALM");
    private static final javax.xml.namespace.QName LANGUAGE$10 = 
        new javax.xml.namespace.QName("", "LANGUAGE");
    private static final javax.xml.namespace.QName SYNCMODE$12 = 
        new javax.xml.namespace.QName("", "SYNCMODE");
    private static final javax.xml.namespace.QName REFRESHSUPT$14 = 
        new javax.xml.namespace.QName("", "REFRESHSUPT");
    private static final javax.xml.namespace.QName RESPFILEER$16 = 
        new javax.xml.namespace.QName("", "RESPFILEER");
    private static final javax.xml.namespace.QName SPNAME$18 = 
        new javax.xml.namespace.QName("", "SPNAME");
    
    
    /**
     * Gets the "VER" element
     */
    public java.lang.String getVER()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VER$0, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "VER" element
     */
    public net.ofx.types.x2003.x04.VersionType xgetVER()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.VersionType target = null;
            target = (net.ofx.types.x2003.x04.VersionType)get_store().find_element_user(VER$0, 0);
            return target;
        }
    }
    
    /**
     * Sets the "VER" element
     */
    public void setVER(java.lang.String ver)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(VER$0, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(VER$0);
            }
            target.setStringValue(ver);
        }
    }
    
    /**
     * Sets (as xml) the "VER" element
     */
    public void xsetVER(net.ofx.types.x2003.x04.VersionType ver)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.VersionType target = null;
            target = (net.ofx.types.x2003.x04.VersionType)get_store().find_element_user(VER$0, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.VersionType)get_store().add_element_user(VER$0);
            }
            target.set(ver);
        }
    }
    
    /**
     * Gets the "URL" element
     */
    public java.lang.String getURL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URL$2, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "URL" element
     */
    public net.ofx.types.x2003.x04.UrlType xgetURL()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.UrlType target = null;
            target = (net.ofx.types.x2003.x04.UrlType)get_store().find_element_user(URL$2, 0);
            return target;
        }
    }
    
    /**
     * Sets the "URL" element
     */
    public void setURL(java.lang.String url)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URL$2, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(URL$2);
            }
            target.setStringValue(url);
        }
    }
    
    /**
     * Sets (as xml) the "URL" element
     */
    public void xsetURL(net.ofx.types.x2003.x04.UrlType url)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.UrlType target = null;
            target = (net.ofx.types.x2003.x04.UrlType)get_store().find_element_user(URL$2, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.UrlType)get_store().add_element_user(URL$2);
            }
            target.set(url);
        }
    }
    
    /**
     * Gets the "OFXSEC" element
     */
    public net.ofx.types.x2003.x04.SecurityEnum.Enum getOFXSEC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OFXSEC$4, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.SecurityEnum.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "OFXSEC" element
     */
    public net.ofx.types.x2003.x04.SecurityEnum xgetOFXSEC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.SecurityEnum target = null;
            target = (net.ofx.types.x2003.x04.SecurityEnum)get_store().find_element_user(OFXSEC$4, 0);
            return target;
        }
    }
    
    /**
     * Sets the "OFXSEC" element
     */
    public void setOFXSEC(net.ofx.types.x2003.x04.SecurityEnum.Enum ofxsec)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OFXSEC$4, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OFXSEC$4);
            }
            target.setEnumValue(ofxsec);
        }
    }
    
    /**
     * Sets (as xml) the "OFXSEC" element
     */
    public void xsetOFXSEC(net.ofx.types.x2003.x04.SecurityEnum ofxsec)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.SecurityEnum target = null;
            target = (net.ofx.types.x2003.x04.SecurityEnum)get_store().find_element_user(OFXSEC$4, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.SecurityEnum)get_store().add_element_user(OFXSEC$4);
            }
            target.set(ofxsec);
        }
    }
    
    /**
     * Gets the "TRANSPSEC" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getTRANSPSEC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TRANSPSEC$6, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "TRANSPSEC" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetTRANSPSEC()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(TRANSPSEC$6, 0);
            return target;
        }
    }
    
    /**
     * Sets the "TRANSPSEC" element
     */
    public void setTRANSPSEC(net.ofx.types.x2003.x04.BooleanType.Enum transpsec)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TRANSPSEC$6, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TRANSPSEC$6);
            }
            target.setEnumValue(transpsec);
        }
    }
    
    /**
     * Sets (as xml) the "TRANSPSEC" element
     */
    public void xsetTRANSPSEC(net.ofx.types.x2003.x04.BooleanType transpsec)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(TRANSPSEC$6, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(TRANSPSEC$6);
            }
            target.set(transpsec);
        }
    }
    
    /**
     * Gets the "SIGNONREALM" element
     */
    public java.lang.String getSIGNONREALM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SIGNONREALM$8, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "SIGNONREALM" element
     */
    public net.ofx.types.x2003.x04.GenericNameType xgetSIGNONREALM()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(SIGNONREALM$8, 0);
            return target;
        }
    }
    
    /**
     * Sets the "SIGNONREALM" element
     */
    public void setSIGNONREALM(java.lang.String signonrealm)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SIGNONREALM$8, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SIGNONREALM$8);
            }
            target.setStringValue(signonrealm);
        }
    }
    
    /**
     * Sets (as xml) the "SIGNONREALM" element
     */
    public void xsetSIGNONREALM(net.ofx.types.x2003.x04.GenericNameType signonrealm)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(SIGNONREALM$8, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GenericNameType)get_store().add_element_user(SIGNONREALM$8);
            }
            target.set(signonrealm);
        }
    }
    
    /**
     * Gets array of all "LANGUAGE" elements
     */
    public net.ofx.types.x2003.x04.LanguageEnum.Enum[] getLANGUAGEArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(LANGUAGE$10, targetList);
            net.ofx.types.x2003.x04.LanguageEnum.Enum[] result = new net.ofx.types.x2003.x04.LanguageEnum.Enum[targetList.size()];
            for (int i = 0, len = targetList.size() ; i < len ; i++)
                result[i] = (net.ofx.types.x2003.x04.LanguageEnum.Enum)((org.apache.xmlbeans.SimpleValue)targetList.get(i)).getEnumValue();
            return result;
        }
    }
    
    /**
     * Gets ith "LANGUAGE" element
     */
    public net.ofx.types.x2003.x04.LanguageEnum.Enum getLANGUAGEArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LANGUAGE$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return (net.ofx.types.x2003.x04.LanguageEnum.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) array of all "LANGUAGE" elements
     */
    public net.ofx.types.x2003.x04.LanguageEnum[] xgetLANGUAGEArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(LANGUAGE$10, targetList);
            net.ofx.types.x2003.x04.LanguageEnum[] result = new net.ofx.types.x2003.x04.LanguageEnum[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets (as xml) ith "LANGUAGE" element
     */
    public net.ofx.types.x2003.x04.LanguageEnum xgetLANGUAGEArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.LanguageEnum target = null;
            target = (net.ofx.types.x2003.x04.LanguageEnum)get_store().find_element_user(LANGUAGE$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return (net.ofx.types.x2003.x04.LanguageEnum)target;
        }
    }
    
    /**
     * Returns number of "LANGUAGE" element
     */
    public int sizeOfLANGUAGEArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(LANGUAGE$10);
        }
    }
    
    /**
     * Sets array of all "LANGUAGE" element
     */
    public void setLANGUAGEArray(net.ofx.types.x2003.x04.LanguageEnum.Enum[] languageArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(languageArray, LANGUAGE$10);
        }
    }
    
    /**
     * Sets ith "LANGUAGE" element
     */
    public void setLANGUAGEArray(int i, net.ofx.types.x2003.x04.LanguageEnum.Enum language)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(LANGUAGE$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.setEnumValue(language);
        }
    }
    
    /**
     * Sets (as xml) array of all "LANGUAGE" element
     */
    public void xsetLANGUAGEArray(net.ofx.types.x2003.x04.LanguageEnum[]languageArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(languageArray, LANGUAGE$10);
        }
    }
    
    /**
     * Sets (as xml) ith "LANGUAGE" element
     */
    public void xsetLANGUAGEArray(int i, net.ofx.types.x2003.x04.LanguageEnum language)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.LanguageEnum target = null;
            target = (net.ofx.types.x2003.x04.LanguageEnum)get_store().find_element_user(LANGUAGE$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(language);
        }
    }
    
    /**
     * Inserts the value as the ith "LANGUAGE" element
     */
    public void insertLANGUAGE(int i, net.ofx.types.x2003.x04.LanguageEnum.Enum language)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = 
                (org.apache.xmlbeans.SimpleValue)get_store().insert_element_user(LANGUAGE$10, i);
            target.setEnumValue(language);
        }
    }
    
    /**
     * Appends the value as the last "LANGUAGE" element
     */
    public void addLANGUAGE(net.ofx.types.x2003.x04.LanguageEnum.Enum language)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(LANGUAGE$10);
            target.setEnumValue(language);
        }
    }
    
    /**
     * Removes the ith "LANGUAGE" element
     */
    public void removeLANGUAGE(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(LANGUAGE$10, i);
        }
    }
    
    /**
     * Gets the "SYNCMODE" element
     */
    public net.ofx.types.x2003.x04.SyncEnum.Enum getSYNCMODE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SYNCMODE$12, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.SyncEnum.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "SYNCMODE" element
     */
    public net.ofx.types.x2003.x04.SyncEnum xgetSYNCMODE()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.SyncEnum target = null;
            target = (net.ofx.types.x2003.x04.SyncEnum)get_store().find_element_user(SYNCMODE$12, 0);
            return target;
        }
    }
    
    /**
     * Sets the "SYNCMODE" element
     */
    public void setSYNCMODE(net.ofx.types.x2003.x04.SyncEnum.Enum syncmode)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SYNCMODE$12, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SYNCMODE$12);
            }
            target.setEnumValue(syncmode);
        }
    }
    
    /**
     * Sets (as xml) the "SYNCMODE" element
     */
    public void xsetSYNCMODE(net.ofx.types.x2003.x04.SyncEnum syncmode)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.SyncEnum target = null;
            target = (net.ofx.types.x2003.x04.SyncEnum)get_store().find_element_user(SYNCMODE$12, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.SyncEnum)get_store().add_element_user(SYNCMODE$12);
            }
            target.set(syncmode);
        }
    }
    
    /**
     * Gets the "REFRESHSUPT" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getREFRESHSUPT()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFRESHSUPT$14, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "REFRESHSUPT" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetREFRESHSUPT()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(REFRESHSUPT$14, 0);
            return target;
        }
    }
    
    /**
     * True if has "REFRESHSUPT" element
     */
    public boolean isSetREFRESHSUPT()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(REFRESHSUPT$14) != 0;
        }
    }
    
    /**
     * Sets the "REFRESHSUPT" element
     */
    public void setREFRESHSUPT(net.ofx.types.x2003.x04.BooleanType.Enum refreshsupt)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REFRESHSUPT$14, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REFRESHSUPT$14);
            }
            target.setEnumValue(refreshsupt);
        }
    }
    
    /**
     * Sets (as xml) the "REFRESHSUPT" element
     */
    public void xsetREFRESHSUPT(net.ofx.types.x2003.x04.BooleanType refreshsupt)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(REFRESHSUPT$14, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(REFRESHSUPT$14);
            }
            target.set(refreshsupt);
        }
    }
    
    /**
     * Unsets the "REFRESHSUPT" element
     */
    public void unsetREFRESHSUPT()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(REFRESHSUPT$14, 0);
        }
    }
    
    /**
     * Gets the "RESPFILEER" element
     */
    public net.ofx.types.x2003.x04.BooleanType.Enum getRESPFILEER()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPFILEER$16, 0);
            if (target == null)
            {
                return null;
            }
            return (net.ofx.types.x2003.x04.BooleanType.Enum)target.getEnumValue();
        }
    }
    
    /**
     * Gets (as xml) the "RESPFILEER" element
     */
    public net.ofx.types.x2003.x04.BooleanType xgetRESPFILEER()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(RESPFILEER$16, 0);
            return target;
        }
    }
    
    /**
     * Sets the "RESPFILEER" element
     */
    public void setRESPFILEER(net.ofx.types.x2003.x04.BooleanType.Enum respfileer)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RESPFILEER$16, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RESPFILEER$16);
            }
            target.setEnumValue(respfileer);
        }
    }
    
    /**
     * Sets (as xml) the "RESPFILEER" element
     */
    public void xsetRESPFILEER(net.ofx.types.x2003.x04.BooleanType respfileer)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BooleanType target = null;
            target = (net.ofx.types.x2003.x04.BooleanType)get_store().find_element_user(RESPFILEER$16, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.BooleanType)get_store().add_element_user(RESPFILEER$16);
            }
            target.set(respfileer);
        }
    }
    
    /**
     * Gets the "SPNAME" element
     */
    public java.lang.String getSPNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SPNAME$18, 0);
            if (target == null)
            {
                return null;
            }
            return target.getStringValue();
        }
    }
    
    /**
     * Gets (as xml) the "SPNAME" element
     */
    public net.ofx.types.x2003.x04.GenericNameType xgetSPNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(SPNAME$18, 0);
            return target;
        }
    }
    
    /**
     * True if has "SPNAME" element
     */
    public boolean isSetSPNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(SPNAME$18) != 0;
        }
    }
    
    /**
     * Sets the "SPNAME" element
     */
    public void setSPNAME(java.lang.String spname)
    {
        synchronized (monitor())
        {
            check_orphaned();
            org.apache.xmlbeans.SimpleValue target = null;
            target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SPNAME$18, 0);
            if (target == null)
            {
                target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SPNAME$18);
            }
            target.setStringValue(spname);
        }
    }
    
    /**
     * Sets (as xml) the "SPNAME" element
     */
    public void xsetSPNAME(net.ofx.types.x2003.x04.GenericNameType spname)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.GenericNameType target = null;
            target = (net.ofx.types.x2003.x04.GenericNameType)get_store().find_element_user(SPNAME$18, 0);
            if (target == null)
            {
                target = (net.ofx.types.x2003.x04.GenericNameType)get_store().add_element_user(SPNAME$18);
            }
            target.set(spname);
        }
    }
    
    /**
     * Unsets the "SPNAME" element
     */
    public void unsetSPNAME()
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(SPNAME$18, 0);
        }
    }
}
